<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::group(function() {
    Route::group(function () {
        //采集相关
        Route::get('searchSource', 'collect/searchSourceByNet');//宅男平台
        Route::get('jiujiuri', 'collect/jiujiuriPage');//久久日平台每页查找
        Route::get('jiujiuriById', 'collect/jiujiuriById');//久久日平台通过ID查找

        //首页相关
        Route::get('getCarousel', 'uniapp/getCarousel');
        Route::get('getHotYugao', 'uniapp/getHotYugao');
        Route::get('getGuess', 'uniapp/getGuess');

        //搜索相关
        Route::post('search', 'search/getSearch');
        Route::get('search', 'search/getSearch');
        Route::post('delete', 'search/deleteMovie');
        Route::post('collection', 'search/collection');
        Route::post('searchCollection', 'search/collection');
        Route::post('info', 'search/info');

        //我的收藏
        Route::post('getCollectionList', 'search/getCollectionList');

    });
})->allowCrossDomain();
